export default [
  {
    path: '/user',
    layout: false,
    routes: [{ name: '登录', path: '/user/login', component: './User/Login' }],
  },
  { path: '/', name: '接口文档', icon: 'smile', component: './Index' },
  { path: '/interface/info/:id', name: '接口详情', component: './InterfaceInfo/Detail.tsx' },
  { name: '管理接口', icon: 'table', path: '/admin', component: './Admin/index.tsx' },
  { path: '*', layout: false, component: './404' },
];
